package com.love.marriage.eventInfo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.love.marriage.common.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * description:  活动表类
 * author:       alex
 * createDate: 2024-10-15 04:26:31
 * version:      1.0.0
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("event_info_t")
@Schema(description = "活动表")
public class EventInfo extends BaseEntity<EventInfo>{

    @Schema(description = "活动标题", type = "String", implementation = String.class)
    @TableField("title")
    private String title;

    @Schema(description = "活动描述", type = "String", implementation = String.class)
    @TableField("`description`")
    private String description;

    @Schema(description = "活动开始时间", type = "LocalDateTime", implementation = LocalDateTime.class)
    @TableField("start_time")
    private LocalDateTime startTime;

    @Schema(description = "活动结束时间", type = "LocalDateTime", implementation = LocalDateTime.class)
    @TableField("end_time")
    private LocalDateTime endTime;

    @Schema(description = "费用类型（如AA, 免费等）", type = "String", implementation = String.class)
    @TableField("fee_type")
    private String feeType;

    @Schema(description = "活动金额，0表示免费", type = "BigDecimal", implementation = BigDecimal.class)
    @TableField("fee_amount")
    private BigDecimal feeAmount;

    @Schema(description = "参与人数", type = "Integer", implementation = Integer.class)
    @TableField("participants_count")
    private Integer participantsCount;

    @Schema(description = "活动图片ID", type = "String", implementation = String.class)
    @TableField("images")
    private String images;

    @Schema(description = "活动地点", type = "String", implementation = String.class)
    @TableField("event_location")
    private String eventLocation;

    @Schema(description = "省id", type = "Integer", implementation = Integer.class)
    @TableField("province_id")
    private Integer provinceId;

    @Schema(description = "城市id", type = "Integer", implementation = Integer.class)
    @TableField("city_id")
    private Integer cityId;

    @Schema(description = "区id", type = "Integer", implementation = Integer.class)
    @TableField("district_id")
    private Integer districtId;

    @Schema(description = "注意事项", type = "String", implementation = String.class)
    @TableField("remarks")
    private String remarks;
}
